package com.solo.eggsolo.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * @description singer
 * @author yu
 * @date 2022-06-21
 */
public class Singer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 歌手编号
    */
    private Integer id;

    /**
    * 性别，数字1为男生，2为女生
    */
    private Integer gender;

    /**
    * 歌手名字
    */
    private String singerName;

    public String getSingerName() {
		return singerName;
	}

	public void setSingerName(String singerName) {
		this.singerName = singerName;
	}

	/**
    * 歌手简介
    */
    private String synopsis;

    /**
    * 生日
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date birthday;

    /**
    * 粉丝数量
    */
    private Integer fansNumber;

    /**
    * 关注数量
    */
    private Integer followNumber;
    
    private String position;


    public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public Singer() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

   

    public String getSynopsis() {
        return synopsis;
    }

    public void setSynopsis(String synopsis) {
        this.synopsis = synopsis;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getFansNumber() {
        return fansNumber;
    }

    public void setFansNumber(Integer fansNumber) {
        this.fansNumber = fansNumber;
    }

    public Integer getFollowNumber() {
        return followNumber;
    }

	public void setFollowNumber(Integer followNumber) {
        this.followNumber = followNumber;
    }

	@Override
	public String toString() {
		return "Singer [id=" + id + ", gender=" + gender + ", singerName=" + singerName + ", synopsis=" + synopsis
				+ ", birthday=" + birthday + ", fansNumber=" + fansNumber + ", followNumber=" + followNumber
				+ ", position=" + position + "]";
	}

	


}